package com.wanji.single_point.result;


import com.wanji.single_point.entity.Radar;
import com.wanji.single_point.pojo.Parameter;
import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author xinyingjie
 *
 *  index             含义
 *    0             目标识别精度-识别数
 *    1             目标分类精度-分类数
 *    2             车牌识别率-识别数
 *
 */
@Data
@ToString
@Component
public class PartpPerceiveResult {


    private int countFrame;
    private String real_deviceId = "13";
    private String test_deviceId = "6";

    private Map<Integer, Radar[]> temp_real_dic = new ConcurrentHashMap<>();
    private Map<Integer, Radar[]> temp_test_dic = new ConcurrentHashMap<>();
    private Map<String, Map<Integer,Radar>> match_plate_dic = new ConcurrentHashMap<>();
    private int[] total_real_num = new int[3];
    private int[] total_test_num = new int[3];
    private int[] now_real_num = new int[3];
    private int[] now_test_num = new int[3];
    private int[] total_rate = {100,100,100};
    private Parameter parameter;
    private int match_plate_num;
}
